/*
 * Preferences.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.constant;

/**
 * SharedPreference常量.
 */
public interface Preferences {

    /**
     * 打开app的次数
     */
    String NUMBER = "number";

    /**
     * 公共Preferences的名称.
     */
    String COMMON = "common";

    /**
     * 登录用户的帐号.
     */
    String ACCOUNT = "account";

    /**
     * 登录用户的token.
     */
    String TOKEN = "token";

    /**
     * 用户头像.
     */
    String AVATAR = "avatar";

    /**
     * 用户性别.
     */
    String SEX = "sex";

    /**
     * 用户昵称.
     */
    String NICK_NAME = "nick_name";

    /**
     * userId
     */
    String UID = "uid";

    /**
     * 搜索商品的历史记录.
     */
    String SEARCH_GOODS_HISTORY = "searchGoods_history";

    /**
     * 搜索商店的历史记录.
     */
    String SEARCH_SHOPS_HISTORY = "searchShops_history";

    /**
     * 搜索品牌和产地的历史记录.
     */
    String SEARCH_BRAND_HISTORY = "search_brand_history";

    /**
     * 记录是否打开过guide页.
     */
    String GUIDE_IS_SHOW = "guide_isshow";

    /**
     * 电话号码的正则表达式
     */
    String MOBILE_PATTERN = "mobile_pattern";

    /**
     * 有新的代理商推送
     */
    String NEW_PUSH_AGENT_MESSAGE = "new_push_agent_message";

    /**
     * 极光推送开关
     */
    String JPUSH_SWITCH = "jpush_switch";

    /**
     * 服务器配置文件版本信息
     */
    String SERVER_CONFIG_VERSION = "server_config_version";

    /**
     * 是否是代理商
     */
    String IS_AGENT = "isAgent";

    String NEW_PUSH_OFFER_MESSAGE = "new_push_offer_message";

    String HOST = "host";

    String CITY = "city";

    /**
     * 是否刷新购物车的标记
     */
    String REFRESH_SHOPPING_CART = "refresh_shopping_cart";

    /**
     * 是否打开签到提醒
     */
    String IS_OPEN_SIGN_TIP = "is_open_sign_tip";

    /**
     * 注册登录的城市
     */
    String SIGN_CITY = "sign_city";

    /**
     * 日期
     */
    String DAY_TIME = "day_time";

    String DISCOVERY_SEARCH = "discovery_search";
}
